Closed Bug 1468640 Opened 7 years ago Closed 7 years ago

thread '<unnamed>' panicked at 'assertion failed: author_styles.quirks_mode == self.as_node().owner_doc().quirks_mode() || author_styles.stylesheets.is_empty()', servo/components/style/gecko/wrapper.rs:183:9

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox60 --- unaffected
firefox61 --- unaffected
firefox62 --- fixed

People

(Reporter: tsmith, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, regression, testcase)

Attachments

(1 file)

Attached file testcase.html
Reduced with m-c: BuildID=20180613092238 SourceStamp=0344af5522398276a98629b66df90cca6f395245 thread '<unnamed>' panicked at 'assertion failed: author_styles.quirks_mode == self.as_node().owner_doc().quirks_mode() || author_styles.stylesheets.is_empty()', servo/components/style/gecko/wrapper.rs:183:9 0|0|firefox|mozalloc_abort|hg:hg.mozilla.org/mozilla-central:memory/mozalloc/mozalloc_abort.cpp:0344af5522398276a98629b66df90cca6f395245|34|0x5 0|1|firefox|abort|hg:hg.mozilla.org/mozilla-central:memory/mozalloc/mozalloc_abort.cpp:0344af5522398276a98629b66df90cca6f395245|81|0x5 0|2|libxul.so|panic_abort::__rust_start_panic|git:github.com/rust-lang/rust:src/libpanic_abort/lib.rs:4d90ac38c0b61bb69470b61ea2cccea0df48d9e5|59|0x5 0|3|libxul.so|std::panicking::rust_panic|git:github.com/rust-lang/rust:src/libstd/panicking.rs:4d90ac38c0b61bb69470b61ea2cccea0df48d9e5|608|0x9 0|4|libxul.so|std::panicking::rust_panic_with_hook::h574be4fada9826dc|git:github.com/rust-lang/rust:src/libstd/panicking.rs:4d90ac38c0b61bb69470b61ea2cccea0df48d9e5|593|0xd 0|5|libxul.so|std::panicking::begin_panic::h5293a12cad680506|git:github.com/rust-lang/rust:src/libstd/panicking.rs:4d90ac38c0b61bb69470b61ea2cccea0df48d9e5|538|0x12 0|6|libxul.so|style::dom::TElement::each_applicable_non_document_style_rule_data::h598b471b40068c09|git:github.com/rust-lang/rust:src/libcore/macros.rs:4d90ac38c0b61bb69470b61ea2cccea0df48d9e5|0|0x5c 0|7|libxul.so|style::gecko_string_cache::Atom::with::h1298970cccee247a|hg:hg.mozilla.org/mozilla-central:servo/components/style/stylist.rs:0344af5522398276a98629b66df90cca6f395245|593|0x5 0|8|libxul.so|geckoservo::glue::Servo_StyleSet_MightHaveAttributeDependency|hg:hg.mozilla.org/mozilla-central:servo/ports/geckolib/glue.rs:0344af5522398276a98629b66df90cca6f395245|5100|0x8 0|9|libxul.so|mozilla::RestyleManager::TakeSnapshotForAttributeChange(mozilla::dom::Element*, int, nsAtom*)|hg:hg.mozilla.org/mozilla-central:layout/base/RestyleManager.cpp:0344af5522398276a98629b66df90cca6f395245|3203|0xf 0|10|libxul.so|mozilla::PresShell::AttributeWillChange(mozilla::dom::Element*, int, nsAtom*, int, nsAttrValue const*)|hg:hg.mozilla.org/mozilla-central:layout/base/RestyleManager.cpp:0344af5522398276a98629b66df90cca6f395245|3213|0x11 0|11|libxul.so|nsNodeUtils::AttributeWillChange(mozilla::dom::Element*, int, nsAtom*, int, nsAttrValue const*)|hg:hg.mozilla.org/mozilla-central:dom/base/nsNodeUtils.cpp:0344af5522398276a98629b66df90cca6f395245|157|0x1b 0|12|libxul.so|mozilla::dom::Element::SetAttr(int, nsAtom*, nsAtom*, nsTSubstring<char16_t> const&, nsIPrincipal*, bool)|hg:hg.mozilla.org/mozilla-central:dom/base/Element.cpp:0344af5522398276a98629b66df90cca6f395245|2499|0x15 0|13|libxul.so|mozilla::dom::Element::SetAttribute(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsIPrincipal*, mozilla::ErrorResult&)|hg:hg.mozilla.org/mozilla-central:dom/base/Element.h:0344af5522398276a98629b66df90cca6f395245|845|0x1c 0|14|libxul.so|mozilla::dom::ElementBinding::setAttribute|s3:gecko-generated-sources:51514b9212d98b2a88bc5072935c1b1fce76cc42780d630c7f14d5394cf3df90d48d190bb10741b82b84f1c722369302f35816288e1b25cf80290c26e1222745/dom/bindings/ElementBinding.cpp:|1194|0x5 0|15|libxul.so|bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:0344af5522398276a98629b66df90cca6f395245|3285|0x9 0|16|libxul.so|js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/JSContext-inl.h:0344af5522398276a98629b66df90cca6f395245|274|0x9 0|17|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|471|0xf 0|18|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|520|0xd 0|19|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|526|0xf 0|20|libxul.so|js::RunScript(JSContext*, js::RunState&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|421|0xb 0|21|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|493|0xf 0|22|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|520|0xd 0|23|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:0344af5522398276a98629b66df90cca6f395245|539|0x5 0|24|libxul.so|JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:0344af5522398276a98629b66df90cca6f395245|2965|0x20 0|25|libxul.so|mozilla::dom::EventHandlerNonNull::Call(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Event&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&)|s3:gecko-generated-sources:5b678ae37824d693637a3e8c1cea5863abae858466e60efacea955526d31b3b74f6837f6c052841cfab03550859d55c9265c04d3352e76a602cc731ec3014e68/dom/bindings/EventHandlerBinding.cpp:|264|0x5 0|26|libxul.so|mozilla::JSEventHandler::HandleEvent(mozilla::dom::Event*)|s3:gecko-generated-sources:5c49685bdbf360f6b2ef60d90252311904ed7362941c3b27826155342b22ca9e6e2a5806c24819e8c0d8c4406e24a8b9a48560eb8a39c9aa89054b5d1cc15be2/dist/include/mozilla/dom/EventHandlerBinding.h:|363|0x1f 0|27|libxul.so|mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:0344af5522398276a98629b66df90cca6f395245|1124|0x14 0|28|libxul.so|mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:0344af5522398276a98629b66df90cca6f395245|1298|0x15 0|29|libxul.so|mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.h:0344af5522398276a98629b66df90cca6f395245|393|0xa 0|30|libxul.so|mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:0344af5522398276a98629b66df90cca6f395245|620|0x12 0|31|libxul.so|mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:0344af5522398276a98629b66df90cca6f395245|1087|0xb 0|32|libxul.so|nsDocumentViewer::LoadComplete(nsresult)|hg:hg.mozilla.org/mozilla-central:layout/base/nsDocumentViewer.cpp:0344af5522398276a98629b66df90cca6f395245|1166|0x2c 0|33|libxul.so|nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, nsresult)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDocShell.cpp:0344af5522398276a98629b66df90cca6f395245|7161|0x18 0|34|libxul.so|nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult)|hg:hg.mozilla.org/mozilla-central:docshell/base/nsDocShell.cpp:0344af5522398276a98629b66df90cca6f395245|6954|0x18 0|35|libxul.so|nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, nsresult)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsDocLoader.cpp:0344af5522398276a98629b66df90cca6f395245|1309|0x2b 0|36|libxul.so|nsDocLoader::doStopDocumentLoad(nsIRequest*, nsresult)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsDocLoader.cpp:0344af5522398276a98629b66df90cca6f395245|852|0x22 0|37|libxul.so|nsDocLoader::DocLoaderIsEmpty(bool)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsDocLoader.cpp:0344af5522398276a98629b66df90cca6f395245|741|0xf 0|38|libxul.so|nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, nsresult)|hg:hg.mozilla.org/mozilla-central:uriloader/base/nsDocLoader.cpp:0344af5522398276a98629b66df90cca6f395245|627|0x16 0|39|libxul.so|mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult)|hg:hg.mozilla.org/mozilla-central:netwerk/base/nsLoadGroup.cpp:0344af5522398276a98629b66df90cca6f395245|629|0x1f 0|40|libxul.so|nsIDocument::DoUnblockOnload()|hg:hg.mozilla.org/mozilla-central:dom/base/nsDocument.cpp:0344af5522398276a98629b66df90cca6f395245|8334|0x20 0|41|libxul.so|nsDocument::UnblockOnload(bool)|hg:hg.mozilla.org/mozilla-central:dom/base/nsDocument.cpp:0344af5522398276a98629b66df90cca6f395245|8256|0x8 0|42|libxul.so|nsIDocument::DispatchContentLoadedEvents()|hg:hg.mozilla.org/mozilla-central:dom/base/nsDocument.cpp:0344af5522398276a98629b66df90cca6f395245|5161|0x11 0|43|libxul.so|mozilla::detail::RunnableMethodImpl<nsIDocument*, void (nsIDocument::*)(), true, (mozilla::RunnableKind)0>::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:0344af5522398276a98629b66df90cca6f395245|1165|0x13 0|44|libxul.so|mozilla::SchedulerGroup::Runnable::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/SchedulerGroup.cpp:0344af5522398276a98629b66df90cca6f395245|337|0x15 0|45|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:0344af5522398276a98629b66df90cca6f395245|1088|0x15 0|46|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:0344af5522398276a98629b66df90cca6f395245|519|0x11 0|47|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:0344af5522398276a98629b66df90cca6f395245|97|0xa 0|48|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0344af5522398276a98629b66df90cca6f395245|325|0x17 0|49|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0344af5522398276a98629b66df90cca6f395245|318|0x8 0|50|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:0344af5522398276a98629b66df90cca6f395245|157|0xd 0|51|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:0344af5522398276a98629b66df90cca6f395245|896|0x11 0|52|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:0344af5522398276a98629b66df90cca6f395245|269|0x5 0|53|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0344af5522398276a98629b66df90cca6f395245|325|0x17 0|54|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:0344af5522398276a98629b66df90cca6f395245|318|0x8 0|55|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:0344af5522398276a98629b66df90cca6f395245|722|0x8 0|56|firefox|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:0344af5522398276a98629b66df90cca6f395245|50|0x14 0|57|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:0344af5522398276a98629b66df90cca6f395245|287|0x11 0|58|libc-2.23.so||||0x20830 0|59|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:0344af5522398276a98629b66df90cca6f395245|164|0x5
Flags: in-testsuite?
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee: nobody → emilio
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: